import  service  from "../../utils/request"

export const uploadApi = {
    upload(formData){
        return service({
            url:'/upload',
            method:"post",
            data:formData,
            headers: {
                'Content-Type': 'multipart/form-data'
            }
        })
    }
}